from selenium import webdriver
from selenium.webdriver.chrome.service import Service
chrome_location = r'D:\测试工具\Win_x64_1135105_chrome-win\chrome-win\chrome.exe'
options = webdriver.ChromeOptions()
options.binary_location = chrome_location
driver_location = r'D:\测试工具\pythan\chromedriver.exe'
service = Service(driver_location)
# driver = webdriver.Chrome(options=options, service=service)